.class Lcom/xingbook/ecloud/activity/l;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field final synthetic a:Lcom/xingbook/ecloud/activity/ECloudGradeDetailAct;

.field private final synthetic b:I


# direct methods
.method constructor <init>(Lcom/xingbook/ecloud/activity/ECloudGradeDetailAct;I)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/ecloud/activity/l;->a:Lcom/xingbook/ecloud/activity/ECloudGradeDetailAct;

    iput p2, p0, Lcom/xingbook/ecloud/activity/l;->b:I

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 6

    const/4 v4, 0x3

    const/4 v3, 0x2

    const/4 v2, 0x1

    :try_start_0
    iget v0, p0, Lcom/xingbook/ecloud/activity/l;->b:I

    int-to-long v0, v0

    invoke-static {v0, v1}, Ljava/lang/Thread;->sleep(J)V
    :try_end_0
    .catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    const/4 v1, 0x0

    invoke-static {}, Lcom/xingbook/ecloud/d/a;->a()Lcom/xingbook/ecloud/d/a;

    move-result-object v0

    iget-object v5, p0, Lcom/xingbook/ecloud/activity/l;->a:Lcom/xingbook/ecloud/activity/ECloudGradeDetailAct;

    invoke-static {v5}, Lcom/xingbook/ecloud/activity/ECloudGradeDetailAct;->h(Lcom/xingbook/ecloud/activity/ECloudGradeDetailAct;)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v0, v5}, Lcom/xingbook/ecloud/d/a;->b(Ljava/lang/String;)Lcom/xingbook/park/e/c;

    move-result-object v5

    invoke-static {v5}, Lcom/xingbook/park/e/a;->a(Lcom/xingbook/park/e/c;)I

    move-result v0

    if-ne v0, v2, :cond_4

    invoke-virtual {v5}, Lcom/xingbook/park/e/c;->f()Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-virtual {v5}, Lcom/xingbook/park/e/c;->f()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/ecloud/b/f;

    invoke-static {v0}, Lcom/xingbook/ecloud/activity/ECloudGradeDetailAct;->b(Lcom/xingbook/ecloud/b/f;)V

    :cond_0
    invoke-static {}, Lcom/xingbook/ecloud/activity/ECloudGradeDetailAct;->d()Lcom/xingbook/ecloud/b/f;

    move-result-object v0

    if-eqz v0, :cond_8

    move-object v0, v1

    move v1, v2

    :goto_1
    if-ne v1, v2, :cond_3

    invoke-static {}, Lcom/xingbook/ecloud/activity/ECloudGradeDetailAct;->d()Lcom/xingbook/ecloud/b/f;

    move-result-object v2

    if-eqz v2, :cond_3

    iget-object v2, p0, Lcom/xingbook/ecloud/activity/l;->a:Lcom/xingbook/ecloud/activity/ECloudGradeDetailAct;

    invoke-static {v2}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v2

    invoke-virtual {v2}, Lcom/xingbook/c/n;->g()Lcom/xingbook/park/d/e;

    move-result-object v2

    invoke-virtual {v2}, Lcom/xingbook/park/d/e;->c()V

    invoke-static {}, Lcom/xingbook/ecloud/activity/ECloudGradeDetailAct;->d()Lcom/xingbook/ecloud/b/f;

    move-result-object v3

    invoke-virtual {v3}, Lcom/xingbook/ecloud/b/f;->f()Lcom/xingbook/ecloud/b/b;

    move-result-object v3

    if-eqz v3, :cond_1

    invoke-static {}, Lcom/xingbook/ecloud/activity/ECloudGradeDetailAct;->d()Lcom/xingbook/ecloud/b/f;

    move-result-object v3

    invoke-virtual {v3}, Lcom/xingbook/ecloud/b/f;->f()Lcom/xingbook/ecloud/b/b;

    move-result-object v3

    invoke-virtual {v3}, Lcom/xingbook/ecloud/b/b;->g()Lcom/xingbook/ecloud/b/a;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcom/xingbook/park/d/e;->a(Lcom/xingbook/ecloud/b/a;)V

    :cond_1
    invoke-static {}, Lcom/xingbook/ecloud/activity/ECloudGradeDetailAct;->d()Lcom/xingbook/ecloud/b/f;

    move-result-object v3

    invoke-virtual {v3}, Lcom/xingbook/ecloud/b/f;->h()Lcom/xingbook/ecloud/b/b;

    move-result-object v3

    if-eqz v3, :cond_2

    invoke-static {}, Lcom/xingbook/ecloud/activity/ECloudGradeDetailAct;->d()Lcom/xingbook/ecloud/b/f;

    move-result-object v3

    invoke-virtual {v3}, Lcom/xingbook/ecloud/b/f;->h()Lcom/xingbook/ecloud/b/b;

    move-result-object v3

    invoke-virtual {v3}, Lcom/xingbook/ecloud/b/b;->g()Lcom/xingbook/ecloud/b/a;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcom/xingbook/park/d/e;->a(Lcom/xingbook/ecloud/b/a;)V

    :cond_2
    invoke-static {}, Lcom/xingbook/ecloud/activity/ECloudGradeDetailAct;->d()Lcom/xingbook/ecloud/b/f;

    move-result-object v3

    invoke-virtual {v3}, Lcom/xingbook/ecloud/b/f;->g()Lcom/xingbook/ecloud/b/b;

    move-result-object v3

    if-eqz v3, :cond_3

    invoke-static {}, Lcom/xingbook/ecloud/activity/ECloudGradeDetailAct;->d()Lcom/xingbook/ecloud/b/f;

    move-result-object v3

    invoke-virtual {v3}, Lcom/xingbook/ecloud/b/f;->g()Lcom/xingbook/ecloud/b/b;

    move-result-object v3

    invoke-virtual {v3}, Lcom/xingbook/ecloud/b/b;->g()Lcom/xingbook/ecloud/b/a;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcom/xingbook/park/d/e;->a(Lcom/xingbook/ecloud/b/a;)V

    :cond_3
    iget-object v2, p0, Lcom/xingbook/ecloud/activity/l;->a:Lcom/xingbook/ecloud/activity/ECloudGradeDetailAct;

    invoke-static {v2}, Lcom/xingbook/ecloud/activity/ECloudGradeDetailAct;->i(Lcom/xingbook/ecloud/activity/ECloudGradeDetailAct;)Lcom/xingbook/ecloud/activity/n;

    move-result-object v2

    invoke-static {v2, v1, v0}, Landroid/os/Message;->obtain(Landroid/os/Handler;ILjava/lang/Object;)Landroid/os/Message;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Message;->sendToTarget()V

    iget-object v0, p0, Lcom/xingbook/ecloud/activity/l;->a:Lcom/xingbook/ecloud/activity/ECloudGradeDetailAct;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/xingbook/ecloud/activity/ECloudGradeDetailAct;->a(Z)V

    return-void

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/InterruptedException;->printStackTrace()V

    goto/16 :goto_0

    :cond_4
    if-ne v0, v4, :cond_6

    invoke-virtual {v5}, Lcom/xingbook/park/e/c;->f()Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_5

    invoke-virtual {v5}, Lcom/xingbook/park/e/c;->f()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/ecloud/b/f;

    invoke-static {v0}, Lcom/xingbook/ecloud/activity/ECloudGradeDetailAct;->b(Lcom/xingbook/ecloud/b/f;)V

    :cond_5
    invoke-static {}, Lcom/xingbook/ecloud/activity/ECloudGradeDetailAct;->d()Lcom/xingbook/ecloud/b/f;

    move-result-object v0

    if-eqz v0, :cond_8

    const-string v0, "\u7f51\u7edc\u6570\u636e\u52a0\u8f7d\u5931\u8d25\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5\uff01"

    move v1, v2

    goto/16 :goto_1

    :cond_6
    if-ne v0, v3, :cond_8

    invoke-virtual {v5}, Lcom/xingbook/park/e/c;->d()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v5}, Lcom/xingbook/park/e/c;->a()I

    move-result v1

    const/16 v5, 0x2b00

    if-ne v1, v5, :cond_7

    move v1, v4

    goto/16 :goto_1

    :cond_7
    move v1, v3

    goto/16 :goto_1

    :cond_8
    move-object v0, v1

    move v1, v3

    goto/16 :goto_1
.end method
